package com.nine.mymall.auth.feign;

import com.nine.common.utils.R;
import com.nine.mymall.auth.vo.UserLoginVo;
import com.nine.mymall.auth.vo.UserRegistVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author: duonine
 * @date: 2021/12/11
 */
@FeignClient("mymall-member")
public interface MemberFeignService {

    @PostMapping("/member/member/regist")
    R regist(@RequestBody UserRegistVo vo);


    @PostMapping("/member/member/login")
    R login(@RequestBody UserLoginVo vo);

}
